#include <stdio.h>
int main(int argc, char **argv)
{
	char *TensName[10] = {"", "", "twenty", "thirty", "forthy",
						  "fifty", "sixth", "seventy",
						  "eighty", "ninety"};
	char *UnitsName[10] = {"", "one", "two", "three", "four",
						   "five", "six", "seven", "eight",
						   "nine"};
	char *onetensName[10] = {"ten", "eleven", "twelve", "thirteen",
							 "fourteen", "fifteen", "sixteen",
							 "seventeen", "eighteen", "nineteen"};
	int inputNum = 0, tens = 0, units = 0;
	scanf("%d", &inputNum);
	units = inputNum / 1 % 10;
	tens = inputNum / 10 % 10;
	switch (tens)
	{
	case 0:
		printf("%s\n", UnitsName[units]);
		break;
	case 1:
		printf("%s\n", onetensName[units]);
		break;
	default:
		printf("%s%c%s\n", TensName[tens],
			   			   (units == 0) ? ' ' : '-',
			               UnitsName[units]);
		break;
	}
	return 0;
}